<?php

class MessageCode
{
    public static $STATUS_OK = 1001;//投票通过，房间解散
    public static $STATUS_FULL = 1002;//房间人数已满
    public static $STATUS_NO_FULL = 1003;//房间人数未满

    public static $STATUS_START = 1004;//游戏已经开始
    public static $STATUS_VOTE = 1005;//已经投过票

    public static $STATUS_VOTE_SUCCESS = 1006;//投票通过
    public static $STATUS_VOTE_FAIL = 1007;//投票不通过

    public static $STATUS_GAME_START = 1008;//游戏开始
    public static $STATUS_FAIL = 1009;//有人没准备
    public static $STATUS_JOIN_SUCCESS = 1010;//加入房间成功
    public static $STATUS_OUT_SUCCESS = 1011;//退出房间成功

    public static $STATUS_ERROR_CARDID = 1012;//牌的数字不合法

    public static $STATUS_ERROR_CARDTYPE = 1013;//出牌不合法
    public static $STATUS_SUCCESS_CARD = 1014;//出牌成功

}